package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营收分析对象 order
 * 
 * @author ruoyi
 * @date 2025-07-05
 */
public class Ysorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充电订单id */
    private Integer oId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String oNumber;

    /** 充电站id */
    @Excel(name = "充电站id")
    private Integer oStationId;

    /** 充电度数（度） */
    @Excel(name = "充电度数", readConverterExp = "度=")
    private Double oAmount;

    /** 充电金额（元） */
    @Excel(name = "充电金额", readConverterExp = "元=")
    private Double oMoney;

    /** 会员id */
    @Excel(name = "会员id")
    private Integer oHuiyuanId;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String oType;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String oStatus;

    /** 订单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "订单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date oTime;
    private String csName;

    public String getCsName() {
        return csName;
    }

    public void setCsName(String csName) {
        this.csName = csName;
    }

    public void setoId(Integer oId)
    {
        this.oId = oId;
    }

    public Integer getoId() 
    {
        return oId;
    }
    private ChargingStation chargingStation=new ChargingStation();


    public ChargingStation getChargingStation() {
        return chargingStation;
    }

    public void setChargingStation(ChargingStation chargingStation) {
        this.chargingStation = chargingStation;
    }





    public void setoNumber(String oNumber)
    {
        this.oNumber = oNumber;
    }

    public String getoNumber() 
    {
        return oNumber;
    }

    public void setoStationId(Integer oStationId) 
    {
        this.oStationId = oStationId;
    }

    public Integer getoStationId() 
    {
        return oStationId;
    }

    public void setoAmount(Double oAmount) 
    {
        this.oAmount = oAmount;
    }

    public Double getoAmount() 
    {
        return oAmount;
    }

    public void setoMoney(Double oMoney) 
    {
        this.oMoney = oMoney;
    }

    public Double getoMoney() 
    {
        return oMoney;
    }

    public void setoHuiyuanId(Integer oHuiyuanId) 
    {
        this.oHuiyuanId = oHuiyuanId;
    }

    public Integer getoHuiyuanId() 
    {
        return oHuiyuanId;
    }

    public void setoType(String oType) 
    {
        this.oType = oType;
    }

    public String getoType() 
    {
        return oType;
    }

    public void setoStatus(String oStatus) 
    {
        this.oStatus = oStatus;
    }

    public String getoStatus() 
    {
        return oStatus;
    }

    public void setoTime(Date oTime) 
    {
        this.oTime = oTime;
    }

    public Date getoTime() 
    {
        return oTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("oId", getoId())
            .append("oNumber", getoNumber())
            .append("oStationId", getoStationId())
            .append("oAmount", getoAmount())
            .append("oMoney", getoMoney())
            .append("oHuiyuanId", getoHuiyuanId())
            .append("oType", getoType())
            .append("oStatus", getoStatus())
            .append("oTime", getoTime())
            .append("csName", getCsName())
            .toString();
    }
}
